package linc.cool.consumer;

import linc.cool.framework.ProxyFactory;
import linc.cool.provider.api.HelloService;

import java.io.IOException;

/**
 * @author yqlin
 * @date 2022/3/11 4:00 上午
 * @description
 */
public class Consumer {
    public static void main(String[] args) throws IOException {
        HelloService helloService = ProxyFactory.getProxy(HelloService.class);
        String result = helloService.sayHello("张三");
        System.out.println(result);
    }
}
